package com.ruoyi.recycle.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户许愿管理 client_prayer_management
 *
 * @author Wubk
 * @date 2023-06-21
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("用户许愿管理")
@TableName("client_prayer_management")
public class ClientPrayerManagement  {

    /**
     * ID
     */
    @ApiModelProperty(name = "id", value = "id", dataType = "Long")
    private Long id;
    /**
     * 用户名
     */
    @Excel(name = "用户名")
    @ApiModelProperty(name = "userName", value = "用户", dataType = "String")
    private String userName;

    /** 手机号 */
    @Excel(name = "手机号")
    @ApiModelProperty(name = "phone",value = "手机号",dataType = "String")
    private String phone;

    /** 回收订单ID */
    @Excel(name = "回收订单ID")
    @ApiModelProperty(name = "recycleOrderId",value = "回收订单ID",dataType = "String")
    private String recycleOrderId;

    /** 许愿详情 */
    @Excel(name = "许愿详情")
    @ApiModelProperty(name = "detail",value = "许愿详情（富文本）",dataType = "String")
    private String detail;
    /**
     * 客戶ID
     */
    @ApiModelProperty(name = "客戶ID", value = "客戶ID", dataType = "Long")
    private Long clientId;
    /** 创建人 */
    //@Excel(name = "创建人")
    @ApiModelProperty(name = "createdBy",value = "创建人",dataType = "String")
    private String createdBy;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "createdTime", value = "创建时间", dataType = "Date", notes = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新人 */
    @ApiModelProperty(name = "updatedBy",value = "更新人",dataType = "String")
    private String updatedBy;

    /** 更新时间 */
    @ApiModelProperty(name = "updatedTime",value = "更新时间",dataType = "Date",notes = "yyyy-MM-dd")
    private Date updatedTime;
}
